package org.cubikalabs.todolist.event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import org.cubikalabs.todolist.vo.Todo;
	
	public class SecurityEvent extends CairngormEvent
	{
		public static const LOGIN:String = "LOGIN";
		public static const LOGOUT:String = "LOGOUT"; 
		
		public var username:String;
		public var password:String;
		
		public function SecurityEvent(type:String, username:String= null, password:String = null, bubbles:Boolean=false, cancelable:Boolean=false )
		{
			super(type, bubbles, cancelable);
			this.username = username;
			this.password = password;
		}
	}
}